export default {
	plugins: {
		// 自动添加浏览器前缀
		autoprefixer: {
			overrideBrowserslist: [
				"> 1%",
				"last 2 versions",
				"not dead",
				"not ie 11",
			],
		},
		// CSS 压缩
		cssnano: {
			preset: [
				"default",
				{
					discardComments: {
						removeAll: true,
					},
					normalizeWhitespace: true,
					colormin: true,
					discardUnused: true,
					mergeRules: true,
					mergeIdents: true,
					reduceIdents: true,
					zindex: false,
				},
			],
		},
	},
};
